package com.xian.im.common.model.dto;


import com.xian.im.common.utils.sys.TransferUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: xian-code
 * @description:
 * @author: liru.xian
 * @create: 2021-01-20 01:20
 **/
@Data
@ApiModel(value = "用户账号信息")
public class AccountDto implements Serializable {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("登录账号名")
    private String account;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("账号状态 0 正常 1 禁用")
    private Integer status;
    @ApiModelProperty("是否在线 0 在线 1离线")
    private Integer online;
    @ApiModelProperty("渠道")
    private String channel;
    @ApiModelProperty("是否单点 0 是 1 不是")
    private Integer sso;
    @ApiModelProperty("登录时间戳")
    private String loginTimestamp;
    @ApiModelProperty("退出时间戳")
    private String logoutTimestamp;
}
